[][src]Crate crossterm_terminal

Macros

execute

Execute one or more command(s)

queue

Queue one or more command(s) for execution in the near future.

Structs

Clear

When executed, this command will clear the terminal buffer based on the type provided.

ScrollDown

When executed, this command will scroll down the terminal buffer by the given number of times.

ScrollUp

When executed, this command will scroll up the terminal buffer by the given number of times.

SetSize

When executed, this command will set the terminal sie to the given (width and height)

Terminal

Allows you to preform actions on the terminal.

Enums

ClearType

Enum with the different values to clear the terminal.

Traits

Command

A command is an action that can be performed on the terminal.

ExecutableCommand

A trait that defines behaviour for a command that will be executed immediately.

QueueableCommand

A trait that defines behaviour for a command that can be used to be executed at a later time point. This can be used in order to get more performance.

Functions

terminal

Get a Terminal instance whereon terminal related actions can be performed.

Type Definitions

Result

The crossterm result type.